INTERSECT OBJECT
This command will return the distance to the point of intersection between two coordinates, in reference to the specified object. Use this command to project a line from your current position to a destination to determine whether a collision will occur with an object. Ideal for bullet calculations and fast manual polygon collision.

SYNTAX
Return Float=INTERSECT OBJECT(Object Number, X, Y, Z, ToX, ToY, ToZ)

RELATED INFO
BASIC3D Commands Menu
Index

EXAMPLE
View Showcase Example
View Usage Example